package com.huawei.esdk.tp.domain.model;

import com.huawei.esdk.platform.common.SDKResult;
import com.huawei.esdk.platform.common.exception.SDKException;
import com.huawei.esdk.tp.common.constants.TPConstant;
import com.huawei.esdk.tp.device.smc.IConferenceManagerCapability;

/**
 * 普通的会议，仅召开一次
 * 
 * @author j00160659
 * 
 */
public class SingleConference extends ScheduleConference {
	/* (non-Javadoc)
	 * @see com.huawei.esdk.tp.domain.model.ScheduleConference#schedule()
	 * @see SMC:ScheduleConf
	 */
	public SDKResult<ScheduleConference> scheduleSingleConference(Conference conference) throws SDKException {
	        IConferenceManagerCapability confMgr = getDeviceManager().getDeviceServiceProxy(
	            TPConstant.DEV_ID_SMC, IConferenceManagerCapability.class);
	        return confMgr.scheduleConference(this);
	    }
	   
	    /**
	     * 对已预订的会议进行重新调度。 对象：普通会议或周期会议的所有会议
	     * 
	     * @return　调度成功后的会议
	     * @see SMC:EditFutureConf
	     */
	    public SDKResult<ScheduleConference> reschedule() {
	        return new SDKResult<ScheduleConference>();
	    }
}
